mapbox-maps-android
/
com.mapbox.bindgen
/
[androidJvm]Size
Size
open class
Size
Content copied to clipboard
Class for describing width and height dimensions.
Constructors
Functions
Properties
Constructors
Size
Link copied to clipboard
open fun
Size
(
@
IntRange
(
from =
0
)
width:
Int
,
@
IntRange
(
from =
0
)
height:
Int
)
Content copied to clipboard
Create a new immutable Size instance.
Functions
equals
Link copied to clipboard
open fun
equals
(
@
Nullable
()
obj:
Any
):
Boolean
Content copied to clipboard
Check if this size is equal to another size.
hashCode
Link copied to clipboard
open fun
hashCode
():
Int
Content copied to clipboard
toString
Link copied to clipboard
open fun
toString
():
String
Content copied to clipboard
Return the size represented as a string with the format
Properties
height
Link copied to clipboard
@
IntRange
(
from =
0
)
private val
height
:
Int
Content copied to clipboard
width
Link copied to clipboard
@
IntRange
(
from =
0
)
private val
width
:
Int
Content copied to clipboard